Offline Promotions export v3 Schema
root Element
Offline Promotions export v3 Schema : root Element
Namespace (none)
Diagram
mixedmatches Element quantitypricebreaks Element promotions Element Sequence root Element
Overview
Sequence
Sequence
promotion 1..∞
code required xs:string
Sequence
description xs:string
datefrom xs:dateTime
dateto xs:dateTime
promotioncode xs:string
Sequence
productnumber required xs:long
Sequence
promotioncode xs:string
datefrom xs:dateTime
dateto xs:dateTime
price xs:decimal
amount xs:decimal
discountpercentage xs:decimal
ispceprice xs:boolean
Sequence
barcode required xs:long
Sequence
mixedmatch 1..∞
mixedmatchnumber required xs:integer
Sequence
promotioncode xs:string
datefrom xs:dateTime
dateto xs:dateTime
description xs:string
mixedmatchtype xs:string
receiptdetailtype xs:string
amount xs:decimal
netprice xs:decimal
discountprice xs:decimal
discountpercentage xs:decimal
Sequence
productnumber required xs:long
Sequence
amount xs:decimal
Sequence
Source
<xs:element name="root" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="promotions">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="promotion">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="description" type="xs:string" />
                  <xs:element name="datefrom" type="xs:dateTime" />
                  <xs:element name="dateto" type="xs:dateTime" />
                  <xs:element name="promotioncode" type="xs:string" />
                </xs:sequence>
                <xs:attribute name="code" type="xs:string" use="required" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="quantitypricebreaks">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="quantitypricebreak">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="promotioncode" type="xs:string" />
                  <xs:element name="datefrom" type="xs:dateTime" />
                  <xs:element name="dateto" type="xs:dateTime" />
                  <xs:element name="price" type="xs:decimal" />
                  <xs:element name="amount" type="xs:decimal" />
                  <xs:element name="discountpercentage" type="xs:decimal" />
                  <xs:element name="ispceprice" type="xs:boolean" />
                  <xs:element name="quantitypricebreaktype" type="xs:string" />
                  <xs:element name="barcode" />
                  <xs:element name="productbarcodes">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="productbarcode">
                          <xs:complexType>
                            <xs:attribute name="barcode" type="xs:long" use="required" />
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="productnumber" type="xs:long" use="required" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="mixedmatches">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="mixedmatch">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="promotioncode" type="xs:string" />
                  <xs:element name="datefrom" type="xs:dateTime" />
                  <xs:element name="dateto" type="xs:dateTime" />
                  <xs:element name="description" type="xs:string" />
                  <xs:element name="mixedmatchtype" type="xs:string" />
                  <xs:element name="mixedmatchdiscounttype" type="xs:string" />
                  <xs:element name="receiptdetailtype" type="xs:string" />
                  <xs:element name="amount" type="xs:decimal" />
                  <xs:element name="netprice" type="xs:decimal" />
                  <xs:element name="discountprice" type="xs:decimal" nillable="true" />
                  <xs:element name="discountpercentage" type="xs:decimal" nillable="true" />
                  <xs:element name="mixedmatchproducts">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element maxOccurs="unbounded" name="mixedmatchproduct">
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element name="amount" type="xs:decimal" />
                              <xs:element name="productbarcodes">
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element maxOccurs="unbounded" name="productbarcode">
                                      <xs:complexType>
                                        <xs:attribute name="barcode" type="xs:long" use="required" />
                                      </xs:complexType>
                                    </xs:element>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                            <xs:attribute name="productnumber" type="xs:long" use="required" />
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="mixedmatchnumber" type="xs:integer" use="required" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
Offline Promotions export v3 Schema